package ${PACKAGE_NAME}.service;

import ${PACKAGE_NAME}.core.base.BaseService;
import ${PACKAGE_NAME}.dao.${ENTITY_NAME}Repository;
import ${PACKAGE_NAME}.entity.${ENTITY_NAME};
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *
 * </p>
 *
 * @author ${USER}
 * @since ${DATE} ${TIME}
 */
@Service
@Transactional
public class ${ENTITY_NAME}Service extends BaseService<${ENTITY_NAME}, Long> {

    private ${ENTITY_NAME}Repository ${ENTITY_NAME_LOWER}Repository;

    public ${ENTITY_NAME}Service(${ENTITY_NAME}Repository ${ENTITY_NAME_LOWER}Repository) {
        super(${ENTITY_NAME_LOWER}Repository);
        this.${ENTITY_NAME_LOWER}Repository = ${ENTITY_NAME_LOWER}Repository;
    }
}